package lab02.test12;

public class Rectangular extends Shape {
    int side1;
    int side2;
    int proportion;
    int perimeter;

    @Override
    public int getProportion() {
        proportion=side1*side2;
        return proportion;
    }

    @Override
    public int getPerimeter() {
        perimeter=(side1+side2)*2;
        return perimeter;
    }
}
